package com.example.lanqiaodemo1.TestFour;

import com.example.lanqiaodemo1.TestFour.Account;

//测试类，测试银行账户类
public class AccountManager {
    public static void main(String[] args) {
        Account ZS=new Account("001","张三",1000);
        Account LS=new Account("002","李四",200);
        ZS.deposite(500);
        LS.deposite(500);
        ZS.withdraw(200);
        ZS.changeMoney(LS,300);
        System.out.println("张三的余额是： "+ZS.getBalance());
        System.out.println("李四的余额是： "+LS.getBalance());
    }
}
